package com.why.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.why.common.utils.PageUtils;
import com.why.entity.ShoppingCartEntity;
import com.why.vo.ShoppingCartVO;


import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 购物车
 *
 * @author 夏沫止水
 * @email HeJieLin@gulimall.com
 * @date 2021-11-06 13:25:10
 */
public interface ShoppingCartService extends IService<ShoppingCartEntity> {

    PageUtils queryPage(Map<String, Object> params);

     List<ShoppingCartVO> getShoppingCartVOs(Long userId);

    int  updateCartnumByCartid(Long cartid, Long cartNum);

    Collection<ShoppingCartEntity> getListByIds(Set<Long> userIds);
}

